package com.tuhu.server.web.controller.service;

import com.tuhu.server.db.bean.ActivateRecordBean;
import com.tuhu.server.web.bean.ActivateResultBean;
import com.tuhu.server.web.bean.InsertActiveCodeBean;
import com.tuhu.server.web.bean.MockResultBean;
import com.tuhu.server.web.resp.ResultBean;
import org.springframework.http.ResponseEntity;

public interface AccountService {


    ResponseEntity<ResultBean<ActivateResultBean>> activate(
            String activeCode, String deviceId, String brand, String model);


    ResponseEntity<ResultBean<MockResultBean>> mock(
            String activeCode, String deviceId, String brand, String model,
            double lat, double lng);

    ResponseEntity<ResultBean<InsertActiveCodeBean>> insert_active_code(
            String activeCode, int activeCodeType, String password);

    ResponseEntity<ResultBean<Void>> unbind(
            String activeCode, String password);

    ResponseEntity<ResultBean<ActivateRecordBean>> query(
            String activeCode, String password);


}
